package com.yxw.live_vod_backend_boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 店铺审核实体类 yx_shop_review
 *
 * @author xiexuxin
 * @date 2023-11-28
 */
@Data
@TableName("yx_shop_review")
@ApiModel("店铺审核实体类")
public class YxShopReviewEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "shop_review_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键id")
    private Long shopReviewId;

    @TableField("shop_id")
    @ApiModelProperty("店铺id")
    private Long shopId;

    @TableField("shop_name")
    @ApiModelProperty("店铺名称")
    private String shopName;

    @TableField("shop_linkman")
    @ApiModelProperty("店铺联系人")
    private String shopLinkman;

    @TableField("shop_phone")
    @ApiModelProperty("店铺电话")
    private String shopPhone;

    @TableField("shop_address")
    @ApiModelProperty("店铺地址")
    private String shopAddress;

    @TableField("merchant_id")
    @ApiModelProperty("商户id")
    private Long merchantId;

    @TableField("merchant_name")
    @ApiModelProperty("商户名称")
    private String merchantName;

    @TableField("merchant_linkman")
    @ApiModelProperty("商户联系人")
    private String merchantLinkman;

    @TableField("user_id")
    @ApiModelProperty("店铺关联用户ID")
    private Long userId;

    @TableField("user_name")
    @ApiModelProperty("店铺关联用户名称")
    private String userName;

    @TableField("user_phone")
    @ApiModelProperty("店铺关联用户电话")
    private String userPhone;

    @TableField("category_id")
    @ApiModelProperty("行业类目id")
    private Long categoryId;

    @TableField("corporate_card_front")
    @ApiModelProperty("法人身份证正面照片")
    private String corporateCardFront;

    @TableField("corporate_card_reverse")
    @ApiModelProperty("法人身份证反面照片")
    private String corporateCardReverse;

    @TableField("corporate_card_hand")
    @ApiModelProperty("法人手持身份证照片")
    private String corporateCardHand;

    @TableField("shop_avatar")
    @ApiModelProperty("店铺头像")
    private String shopAvatar;

    @TableField("business_license")
    @ApiModelProperty("营业执照照片")
    private String businessLicense;

    @TableField("examine_status")
    @ApiModelProperty("审核状态")
    private Integer examineStatus;

    @TableField("examine_user_id")
    @ApiModelProperty("审核人id")
    private Long examineUserId;

    @TableField("examine_user_name")
    @ApiModelProperty("审核人名称")
    private String examineUserName;

    @TableField("examine_time")
    @ApiModelProperty("审核时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date examineTime;

    @TableField("examine_describe")
    @ApiModelProperty("审核描述")
    private String examineDescribe;

    @TableField("create_time")
    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @TableField("corporate_card_front_key")
    @ApiModelProperty("法人身份证正面照在华为云中的唯一标识key")
    private String corporateCardFrontKey;

    @TableField("corporate_card_reverse_key")
    @ApiModelProperty("法人身份证反面照在华为云中的唯一标识key")
    private String corporateCardReverseKey;

    @TableField("corporate_card_hand_key")
    @ApiModelProperty("法人手持身份证照在华为云中的唯一标识key")
    private String corporateCardHandKey;

    @TableField("shop_avatar_key")
    @ApiModelProperty("店铺头像在华为云中的唯一标识key")
    private String shopAvatarKey;

    @TableField("business_license_key")
    @ApiModelProperty("营业执照照片在华为云中的唯一标识key")
    private String businessLicenseKey;

}
